body {
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    background: url("../images/294332.jpg") no-repeat;
}

.container {
    width: 40%;
    margin: 90px auto;
}

#registerDiv, #loginDiv {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #D9EDF7;
    border-radius: 5px;
}

.panel-heading, .registerInfo, .registerSubmitDIv, .loginSubmitDIv {
    width: 98%;
    padding: 0 1%;
}

.panel-heading {
    font-size: 20px;
    font-weight: bold;
}

.registerInfo {
    margin: 0 auto;
    padding: 5px 1%;
}

.panel-heading {
    margin: 0 auto;
    padding: 15px 1%;
}

.registerSubmitDIv, .loginSubmitDIv {
    margin-top: 15px;
    padding: 10px 1%;
    text-align: right;
    background-color: #F5F5F5;
}

.panel-heading {
    background-color: #D9EDF7;
}

#username, #password, #confirm_password {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 16px;
    height: 25px;
    line-height: 25px;
    padding: 6px 0;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 99%;
    margin: 0 auto;
}

label {
    display: inline-block;
    width: 99%;
    margin: 0 auto;
    font-size: 15px;
    height: 30px;
    line-height: 30px;
    font-weight: 500;
    padding: 5px 0 5px 0.5%;
}

input {
    height: 25px;
    line-height: 25px;
}

#loginSubmit, #registerSubmit {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;
    -moz-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

#loginSubmit:hover, #registerSubmit:hover {
    background-color: #7bb2d9;
}

.errorInfo {
    color: red;
    padding-top: 5px;
}

.error {
    float: left;
    display: inline-block;
    color: red;
}

.error .errorInfo {
    font-size: 18px;
}
span.err{
    color: red;
}
input.err{
    border: 1px solid #AA3333;
    background-color: red;
}